public class Main {
    public static void main(String[] args) {

        ShapeFactory circleFactory = new CircleFactory();

        Shape circle = circleFactory.createShape();

        circle.draw();

        ShapeFactory rectangleFactory = new RectangleFactory();

        Shape rectangle = rectangleFactory.createShape();

        rectangle.draw();
    }
}
